import babelpolyfill from 'babel-polyfill'
import Vue from 'vue' 
import App from './App.vue' 
import VueRouter from 'vue-router'

import ElementUI  from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';

import routes from './routes.js';
 
const router = new VueRouter({
  // mode: 'history',
  routes
})
 
Vue.use(VueRouter)
Vue.use(ElementUI)
new Vue({
  router,
  render: h => h(App),
  data:{
  }
}).$mount('#app')

